package com.tang.model.singleton;

/**
 * @Author tangyuan2meicloud.com
 * @DATE 2021/8/15 16:27
 * @Desc 单例模式之饿汉式
 * @Remarks
 */
public class SingletonA {
    private static SingletonA instance = new SingletonA();

    private SingletonA() {
    }

    public static SingletonA getInstance() {
        return instance;
    }

}
